package com.csdj.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "分页实体对象")
public class UserQuery {

    @ApiModelProperty(value = "当前页")
    private Integer pageNum=1;//当前页
    @ApiModelProperty(value = "每页数据量")
    private Integer pageSize=10;//页大小 每页默认显示10条数据
    @ApiModelProperty(value = "当前用户")
    private String userName; //当前用户

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
